<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		    <script src="${pageContext.request.contextPath}/js/common/jquery-1.9.1.min.js"></script>
			<link href="${pageContext.request.contextPath }/css/bootstrap/bootstrap.min.css" rel="stylesheet">
		    <link href="${pageContext.request.contextPath}/css/common/page.css"rel="stylesheet">
		    <script src="${pageContext.request.contextPath}/js/common/myInfochangePage.js"></script>
		<title></title>
	</head>
	<style>
	.container-fluid{padding-left:0px}
	 a{text-decoration:none;color:black}
	 a:hover{text-decoration:none}
	</style>
	<body>
		<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<table class="table">
				<thead>
					<tr>
						<th>
							标题
						</th>
						<th>
							发布日期
						</th>
						<th>
							操作
				</thead>
				<tbody>
				<c:if test="${json.list!=null}">
					<c:forEach var="informations" items="${json.list }">
						<tr>
						<td>
							<a href="">${informations.title }</a>
						</td>
						<td>
						<fmt:formatDate value="${informations.release_time}" pattern="yyyy-MM-dd HH:mm:ss"/>
						</td>
						<td>
							<a href="">删除</a>
						</td>
					</tr>
					</c:forEach>
				</c:if>
					
				</tbody>
			</table>
		</div>
		<!--分页-->
			<div class="paging">
			    <div style="display: none;">
			        <span class="userTypeId">user_id</span>  <!--用户类型id--> 
				    <span class="pages">${json.property.pageCount}</span>  <!--页数-->  
			        <span class="pageIndex">${json.property.pageIndex}</span>  <!--当前页码-->  
			        <span class="pagesize">12</span>   <!--每页记录数-->  
			        <span class="hasNext">${json.property.hasNext}</span>   <!--是否有下一页(boolean)-->  
			        <span class="selfUrl">/information/my_information.do</span>    <!--请求action-->
			        <span class="userId">${designer_id}</span>   <!--用户ID-->  
			        <span class="commonUrl">${pageContext.request.contextPath}</span>   <!--绝对路径-->
			    </div>
			    <div class="showPaging">
			        <a class="prev" href="${pageContext.request.contextPath}/demand/getDemand.do?designer_id=${designer_id }&pageindex=${json.property.pageIndex-1 }&pagesize=12">
					上一页</a> 
				<select class="pageNum">
					<option value="0">请选择跳转的页数</option>
					<option value="1">第1页</option>
				</select> 
				<a class="next" href="${pageContext.request.contextPath}/demand/getDemand.do?designer_id=${designer_id }&pageindex=${json.property.pageIndex+1 }&pagesize=12">
					下一页</a>
			    </div>
			</div>
			<!--分页结束-->
	</div>
</div>
	</body>
</html>
